package com.quick56.kuailaiyun;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;

public class WakeupActivity extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Intent tIntent = this.getIntent();  
        
        Uri myURI = tIntent.getData();
        Intent intent = new Intent(WakeupActivity.this, MainActivity.class);
        if (myURI != null) {
            String path = myURI.getQueryParameter("path");
            if (path != null) {
                intent.putExtra("url", path);
            }
        }
        startActivity(intent);
        finish();
    }
}
